Skip to content

Sync tmux terminal titles with session names#583

Open
aaronflorey wants to merge 1 commit intoasheshgoplani:mainfrom
aaronflorey:feat/tmux-terminal-title
Open

Sync tmux terminal titles with session names#583
aaronflorey wants to merge 1 commit intoasheshgoplani:mainfrom
aaronflorey:feat/tmux-terminal-title

Conversation

@aaronflorey
Copy link
Copy Markdown
Contributor

Summary

  • set tmux title metadata and a default set-titles-string so terminal tabs can show [project] session title for managed sessions
  • keep terminal titles in sync when sessions are created, reconnected, lazily configured, or renamed while still respecting user overrides for set-titles and set-titles-string
  • add focused tmux tests for both the generated title args and live session option wiring

Verification

  • rtk go test ./internal/tmux -run 'TestBuildTerminalTitleArgs|TestConfigureTerminalTitle'

Set tmux title metadata from the managed session display name so terminals such as iTerm2 can show [project] session titles for agent-deck sessions.

Keep the title wiring separate from status-line injection so renamed sessions and custom tmux status bars still get updated titles while respecting user overrides for set-titles and set-titles-string.
@aaronflorey aaronflorey force-pushed the feat/tmux-terminal-title branch from c374729 to 387c54d Compare April 13, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant